<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<meta name="keywords" content="Nacos,监控手册" />
	<meta name="description" content="Nacos 监控手册" />
	<!-- 网页标签标题 -->
	<title>Nacos 监控手册</title>
	<link rel="shortcut icon" href="https://img.alicdn.com/tfs/TB1hgJpHAPoK1RjSZKbXXX1IXXa-64-64.png"/>
	<link rel="stylesheet" href="/build/documentation.css" />
</head>
<body>
	<div id="root"><div class="documentation-page" data-reactroot="" data-reactid="1" data-react-checksum="-732641292"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/zh-cn/index.html" data-reactid="4"><img class="logo" src="/img/nacos_colorful.png" data-reactid="5"/></a><div class="search search-normal" data-reactid="6"><span class="icon-search" data-reactid="7"></span></div><span class="language-switch language-switch-normal" data-reactid="8">En</span><div class="header-menu" data-reactid="9"><img class="header-menu-toggle" src="/img/menu_gray.png" data-reactid="10"/><ul data-reactid="11"><li class="menu-item menu-item-normal" data-reactid="12"><a href="/zh-cn/index.html" data-reactid="13">首页</a></li><li class="menu-item menu-item-normal menu-item-normal-active" data-reactid="14"><a href="/zh-cn/docs/what-is-nacos.html" data-reactid="15">文档</a></li><li class="menu-item menu-item-normal" data-reactid="16"><a href="/zh-cn/blog/index.html" data-reactid="17">博客</a></li><li class="menu-item menu-item-normal" data-reactid="18"><a href="/zh-cn/community/index.html" data-reactid="19">社区</a></li><li class="menu-item menu-item-normal" data-reactid="20"><a href="https://cn.aliyun.com/product/aliware/mse?spm=nacos-website.topbar.0.0.0" data-reactid="21">企业版Nacos</a><img class="menu-img" src="https://img.alicdn.com/tfs/TB1esl_m.T1gK0jSZFrXXcNCXXa-200-200.png" data-reactid="22"/></li><li class="menu-item menu-item-normal" data-reactid="23"><a href="https://job.alibaba.com/zhaopin/position_detail.htm?trace=qrcode_share&amp;positionCode=GP633620" data-reactid="24">招贤纳士</a><img class="menu-img" src="https://img.alicdn.com/tfs/TB1esl_m.T1gK0jSZFrXXcNCXXa-200-200.png" data-reactid="25"/></li><li class="menu-item menu-item-normal" data-reactid="26"><a href="http://console.nacos.io/nacos/index.html" data-reactid="27">控制台样例</a></li></ul></div></div></header><div class="bar" data-reactid="28"><div class="bar-body" data-reactid="29"><img src="/img/docs.png" class="front-img" data-reactid="30"/><div class="bar-title" data-reactid="31"><span data-reactid="32">Nacos 文档</span><div class="bone bone-light" data-reactid="33"></div></div><img src="/img/docs.png" class="back-img" data-reactid="34"/></div></div><section class="content-section" data-reactid="35"><div class="content-body" data-reactid="36"><div class="sidemenu" data-reactid="37"><div class="sidemenu-toggle" data-reactid="38"><img src="https://img.alicdn.com/tfs/TB1E6apXHGYBuNjy0FoXXciBFXa-200-200.png" data-reactid="39"/></div><ul data-reactid="40"><li class="menu-item menu-item-level-1" data-reactid="41"><span data-reactid="42">Nacos </span><ul data-reactid="43"><li style="height:180px;overflow:hidden;" class="menu-item menu-item-level-2" data-reactid="44"><span data-reactid="45"><!-- react-text: 46 -->Nacos是什么?<!-- /react-text --><img style="transform:rotate(0deg);" class="menu-toggle" src="/img/arrow_down.png" data-reactid="47"/></span><ul data-reactid="48"><li class="menu-item menu-item-level-3" data-reactid="49"><a href="/zh-cn/docs/what-is-nacos.html" target="_self" data-reactid="50">Nacos简介</a></li><li class="menu-item menu-item-level-3" data-reactid="51"><a href="/zh-cn/docs/concepts.html" target="_self" data-reactid="52">概念</a></li><li class="menu-item menu-item-level-3" data-reactid="53"><a href="/zh-cn/docs/architecture.html" target="_self" data-reactid="54">架构</a></li><li class="menu-item menu-item-level-3" data-reactid="55"><a href="/zh-cn/docs/feature-list.html" target="_self" data-reactid="56">功能和需求列表</a></li></ul></li><li style="height:324px;overflow:hidden;" class="menu-item menu-item-level-2" data-reactid="57"><span data-reactid="58"><!-- react-text: 59 -->快速开始<!-- /react-text --><img style="transform:rotate(0deg);" class="menu-toggle" src="/img/arrow_down.png" data-reactid="60"/></span><ul data-reactid="61"><li class="menu-item menu-item-level-3" data-reactid="62"><a href="/zh-cn/docs/quick-start.html" target="_self" data-reactid="63">Nacos</a></li><li class="menu-item menu-item-level-3" data-reactid="64"><a href="/zh-cn/docs/quick-start-spring.html" target="_self" data-reactid="65">Nacos Spring</a></li><li class="menu-item menu-item-level-3" data-reactid="66"><a href="/zh-cn/docs/quick-start-spring-boot.html" target="_self" data-reactid="67">Nacos Spring Boot</a></li><li class="menu-item menu-item-level-3" data-reactid="68"><a href="/zh-cn/docs/quick-start-spring-cloud.html" target="_self" data-reactid="69">Nacos Spring Cloud</a></li><li class="menu-item menu-item-level-3" data-reactid="70"><a href="/zh-cn/docs/quick-start-docker.html" target="_self" data-reactid="71">Nacos Docker</a></li><li class="menu-item menu-item-level-3" data-reactid="72"><a href="/zh-cn/docs/use-nacos-with-dubbo.html" target="_self" data-reactid="73">Nacos Dubbo</a></li><li class="menu-item menu-item-level-3" data-reactid="74"><a href="/zh-cn/docs/use-nacos-with-kubernetes.html" target="_self" data-reactid="75">Nacos k8s</a></li><li class="menu-item menu-item-level-3" data-reactid="76"><a href="/zh-cn/docs/nacos-sync.html" target="_self" data-reactid="77">Nacos Sync</a></li></ul></li><li style="height:252px;overflow:hidden;" class="menu-item menu-item-level-2" data-reactid="78"><span data-reactid="79"><!-- react-text: 80 -->用户指南<!-- /react-text --><img style="transform:rotate(0deg);" class="menu-toggle" src="/img/arrow_down.png" data-reactid="81"/></span><ul data-reactid="82"><li class="menu-item menu-item-level-3" data-reactid="83"><a href="/zh-cn/docs/sdk.html" target="_self" data-reactid="84">Java的SDK</a></li><li class="menu-item menu-item-level-3" data-reactid="85"><a href="/zh-cn/docs/other-language.html" target="_self" data-reactid="86">其他语言的SDK</a></li><li class="menu-item menu-item-level-3" data-reactid="87"><a href="/zh-cn/docs/open-api.html" target="_self" data-reactid="88">Open-API指南</a></li><li class="menu-item menu-item-level-3" data-reactid="89"><a href="/zh-cn/docs/nacos-spring.html" target="_self" data-reactid="90">Nacos Spring</a></li><li class="menu-item menu-item-level-3" data-reactid="91"><a href="/zh-cn/docs/system-configurations.html" target="_self" data-reactid="92">Nacos系统参数介绍</a></li><li class="menu-item menu-item-level-3" data-reactid="93"><a href="/zh-cn/docs/faq.html" target="_self" data-reactid="94">FAQ</a></li></ul></li><li style="height:36px;overflow:hidden;" class="menu-item menu-item-level-2" data-reactid="95"><span data-reactid="96"><!-- react-text: 97 -->运维指南<!-- /react-text --><img style="transform:rotate(-90deg);" class="menu-toggle" src="/img/arrow_down.png" data-reactid="98"/></span><ul data-reactid="99"><li class="menu-item menu-item-level-3" data-reactid="100"><a href="/zh-cn/docs/deployment.html" target="_self" data-reactid="101">部署手册</a></li><li class="menu-item menu-item-level-3" data-reactid="102"><a href="/zh-cn/docs/cluster-mode-quick-start.html" target="_self" data-reactid="103">集群部署说明</a></li><li class="menu-item menu-item-level-3" data-reactid="104"><a href="/zh-cn/docs/management-api.html" target="_self" data-reactid="105">运维API</a></li><li class="menu-item menu-item-level-3" data-reactid="106"><a href="/zh-cn/docs/console-guide.html" target="_self" data-reactid="107">控制台手册</a></li><li class="menu-item menu-item-level-3" data-reactid="108"><a href="/zh-cn/docs/monitor-guide.html" target="_self" data-reactid="109">监控手册</a></li><li class="menu-item menu-item-level-3" data-reactid="110"><a href="/zh-cn/docs/nacos-config-benchmark.html" target="_self" data-reactid="111">服务配置模块压测报告</a></li><li class="menu-item menu-item-level-3" data-reactid="112"><a href="/zh-cn/docs/nacos-naming-benchmark.html" target="_self" data-reactid="113">服务发现模块压测报告</a></li><li class="menu-item menu-item-level-3" data-reactid="114"><a href="/zh-cn/docs/nacos-sync-use.html" target="_self" data-reactid="115">其他环境迁移到Nacos</a></li></ul></li><li style="height:36px;overflow:hidden;" class="menu-item menu-item-level-2" data-reactid="116"><span data-reactid="117"><!-- react-text: 118 -->开源共建<!-- /react-text --><img style="transform:rotate(-90deg);" class="menu-toggle" src="/img/arrow_down.png" data-reactid="119"/></span><ul data-reactid="120"><li class="menu-item menu-item-level-3" data-reactid="121"><a href="/zh-cn/docs/contributing.html" target="_self" data-reactid="122">贡献源码</a></li><li class="menu-item menu-item-level-3" data-reactid="123"><a href="/zh-cn/docs/contributing-flow.html" target="_self" data-reactid="124">贡献流程</a></li><li class="menu-item menu-item-level-3" data-reactid="125"><a href="/zh-cn/docs/pull-request.html" target="_self" data-reactid="126">pull request模板</a></li><li class="menu-item menu-item-level-3" data-reactid="127"><a href="/zh-cn/docs/how-to-reporting-bugs.html" target="_self" data-reactid="128">如何提交问题报告</a></li></ul></li><li style="height:36px;overflow:hidden;" class="menu-item menu-item-level-2" data-reactid="129"><span data-reactid="130"><!-- react-text: 131 -->社区<!-- /react-text --><img style="transform:rotate(-90deg);" class="menu-toggle" src="/img/arrow_down.png" data-reactid="132"/></span><ul data-reactid="133"><li class="menu-item menu-item-level-3" data-reactid="134"><a href="/zh-cn/docs/community.html" target="_self" data-reactid="135">社区</a></li><li class="menu-item menu-item-level-3" data-reactid="136"><a href="/zh-cn/docs/nacos-dev.html" target="_self" data-reactid="137">开发团队</a></li></ul></li></ul></li></ul></div><div class="doc-content markdown-body" data-reactid="138"><h1>Nacos 监控手册</h1>
<p>Nacos 0.8.0版本完善了监控系统，支持通过暴露metrics数据接入第三方监控系统监控Nacos运行状态，目前支持prometheus、elastic search和influxdb，下面结合prometheus和grafana如何监控Nacos，官网<a href="http://monitor.nacos.io">grafana监控页面</a>。与elastic search和influxdb结合可自己查找相关资料</p>
<h2>搭建Nacos集群暴露metrics数据</h2>
<p>按照<a href="https://nacos.io/zh-cn/docs/deployment.html">部署文档</a>搭建好Nacos集群</p>
<p>配置application.properties文件，暴露metrics数据</p>
<pre><code>management.endpoints.web.exposure.include=*
</code></pre>
<p>访问{ip}:8848/nacos/actuator/prometheus，看是否能访问到metrics数据</p>
<h2>搭建prometheus采集Nacos metrics数据</h2>
<p>下载你想安装的prometheus版本，地址为<a href="https://prometheus.io/download/">download prometheus</a></p>
<h3>linux &amp; mac</h3>
<p>解压prometheus压缩包</p>
<pre><code>tar xvfz prometheus-*.tar.gz
cd prometheus-*
</code></pre>
<p>修改配置文件prometheus.yml采集Nacos metrics数据</p>
<pre><code>    metrics_path: '/nacos/actuator/prometheus'
    static_configs:
      - targets:['{ip1}:8848','{ip2}:8848','{ip3}:8848']
</code></pre>
<p>启动prometheus服务</p>
<pre><code>./prometheus --config.file=&quot;prometheus.yml&quot;
</code></pre>
<h3>windows</h3>
<p>下载对应的windows版本并解压</p>
<p>修改配置文件prometheus.yml采集Nacos metrics数据</p>
<pre><code>    metrics_path: '/nacos/actuator/prometheus'
    static_configs:
      - targets:['{ip1}:8848','{ip2}:8848','{ip3}:8848']
</code></pre>
<p>启动prometheus服务</p>
<pre><code>prometheus.exe --config.file=prometheus.yml
</code></pre>
<p>通过访问http://{ip}:9090/graph可以看到prometheus的采集数据，在搜索栏搜索nacos_monitor可以搜索到Nacos数据说明采集数据成功
<img src="https://img.alicdn.com/tfs/TB1LThVCQvoK1RjSZFwXXciCFXa-2832-1576.png" alt="IMAGE"></p>
<h2>搭建grafana图形化展示metrics数据</h2>
<p>和prometheus在同一台机器上安装grafana，使用 yum 安装grafana</p>
<h3>mac</h3>
<pre><code>brew install grafana
brew services start grafana
</code></pre>
<h3>linux</h3>
<pre><code>sudo yum install https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.2.4-1.x86_64.rpm
sudo service grafana-server start
</code></pre>
<h3>windows</h3>
<p>参考文档：<a href="http://docs.grafana.org/installation/windows/">http://docs.grafana.org/installation/windows/</a></p>
<p>访问grafana: http://{ip}:3000</p>
<p>配置prometheus数据源
<img src="https://img.alicdn.com/tfs/TB1bTafCOLaK1RjSZFxXXamPFXa-2832-1568.png" alt="IMAGE"></p>
<p>导入Nacos grafana监控<a href="https://github.com/nacos-group/nacos-template/blob/master/nacos-grafana.json">模版</a>
<img src="https://img.alicdn.com/tfs/TB1JadVCPDpK1RjSZFrXXa78VXa-2742-1338.png" alt="IMAGE"></p>
<p>Nacos监控分为三个模块:</p>
<ul>
<li>nacos monitor展示核心监控项
<img src="https://img.alicdn.com/tfs/TB1PMpUCQvoK1RjSZFDXXXY3pXa-2832-1584.png" alt="IMAGE"></li>
<li>nacos detail展示指标的变化曲线
<img src="https://img.alicdn.com/tfs/TB1ZBF4CNjaK1RjSZFAXXbdLFXa-2742-1480.png" alt="IMAGE"></li>
<li>nacos alert为告警项
<img src="https://img.alicdn.com/tfs/TB1ALlUCFzqK1RjSZFCXXbbxVXa-2742-1476.png" alt="IMAGE"></li>
</ul>
<h2>配置grafana告警</h2>
<p>当Nacos运行出现问题时，需要grafana告警通知相关负责人。grafana支持多种告警方式，常用的有邮件，钉钉和webhook方式</p>
<h3>钉钉告警</h3>
<p>钉钉可以通过配置钉钉机器人
<img src="https://img.alicdn.com/tfs/TB1eJ0RCSzqK1RjSZFjXXblCFXa-2742-1482.png" alt="IMAGE"></p>
<p>配置钉钉通知url
<img src="https://img.alicdn.com/tfs/TB1ERtQCSzqK1RjSZFjXXblCFXa-2832-1578.png" alt="IMAGE"></p>
<p>测试告警项
<img src="https://img.alicdn.com/tfs/TB1KvXPCHPpK1RjSZFFXXa5PpXa-996-504.png" alt="IMAGE"></p>
<h3>邮件告警</h3>
<p>修改defaults.ini配置文件，增加邮件告警</p>
<pre><code>#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = smtp.126.com:25
user = xxxxxx
password = xxxxx
;cert_file =
;key_file =
skip_verify = true
from_address = xxxxxx@126.com

[emails]
;welcome_email_on_sign_up = false
</code></pre>
<p>配置通知邮箱
<img src="https://img.alicdn.com/tfs/TB12qyhCNnaK1RjSZFtXXbC2VXa-2832-1576.png" alt="IMAGE"></p>
<h2>Nacos metrics含义</h2>
<h3>jvm metrics</h3>
<table>
<thead>
<tr>
<th>指标</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>system_cpu_usage</td>
<td>CPU使用率</td>
</tr>
<tr>
<td>system_load_average_1m</td>
<td>load</td>
</tr>
<tr>
<td>jvm_memory_used_bytes</td>
<td>内存使用字节，包含各种内存区</td>
</tr>
<tr>
<td>jvm_memory_max_bytes</td>
<td>内存最大字节，包含各种内存区</td>
</tr>
<tr>
<td>jvm_gc_pause_seconds_count</td>
<td>gc次数，包含各种gc</td>
</tr>
<tr>
<td>jvm_gc_pause_seconds_sum</td>
<td>gc耗时，包含各种gc</td>
</tr>
<tr>
<td>jvm_threads_daemon</td>
<td>线程数</td>
</tr>
</tbody>
</table>
<h3>Nacos 监控指标</h3>
<table>
<thead>
<tr>
<th>指标</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>http_server_requests_seconds_count</td>
<td>http请求次数，包括多种(url,方法,code)</td>
</tr>
<tr>
<td>http_server_requests_seconds_sum</td>
<td>http请求总耗时，包括多种(url,方法,code)</td>
</tr>
<tr>
<td>nacos_timer_seconds_sum</td>
<td>Nacos config水平通知耗时</td>
</tr>
<tr>
<td>nacos_timer_seconds_count</td>
<td>Nacos config水平通知次数</td>
</tr>
<tr>
<td>nacos_monitor{name='longPolling'}</td>
<td>Nacos config长连接数</td>
</tr>
<tr>
<td>nacos_monitor{name='configCount'}</td>
<td>Nacos config配置个数</td>
</tr>
<tr>
<td>nacos_monitor{name='dumpTask'}</td>
<td>Nacos config配置落盘任务堆积数</td>
</tr>
<tr>
<td>nacos_monitor{name='notifyTask'}</td>
<td>Nacos config配置水平通知任务堆积数</td>
</tr>
<tr>
<td>nacos_monitor{name='getConfig'}</td>
<td>Nacos config读配置统计数</td>
</tr>
<tr>
<td>nacos_monitor{name='publish'}</td>
<td>Nacos config写配置统计数</td>
</tr>
<tr>
<td>nacos_monitor{name='ipCount'}</td>
<td>Nacos naming ip个数</td>
</tr>
<tr>
<td>nacos_monitor{name='domCount'}</td>
<td>Nacos naming域名个数</td>
</tr>
<tr>
<td>nacos_monitor{name='failedPush'}</td>
<td>Nacos naming推送失败数</td>
</tr>
<tr>
<td>nacos_monitor{name='avgPushCost'}</td>
<td>Nacos naming平均推送耗时</td>
</tr>
<tr>
<td>nacos_monitor{name='leaderStatus'}</td>
<td>Nacos naming角色状态</td>
</tr>
<tr>
<td>nacos_monitor{name='maxPushCost'}</td>
<td>Nacos naming最大推送耗时</td>
</tr>
<tr>
<td>nacos_monitor{name='mysqlhealthCheck'}</td>
<td>Nacos naming mysql健康检查次数</td>
</tr>
<tr>
<td>nacos_monitor{name='httpHealthCheck'}</td>
<td>Nacos naming http健康检查次数</td>
</tr>
<tr>
<td>nacos_monitor{name='tcpHealthCheck'}</td>
<td>Nacos naming tcp健康检查次数</td>
</tr>
</tbody>
</table>
<h3>nacos 异常指标</h3>
<table>
<thead>
<tr>
<th>指标</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>nacos_exception_total{name='db'}</td>
<td>数据库异常</td>
</tr>
<tr>
<td>nacos_exception_total{name='configNotify'}</td>
<td>Nacos config水平通知失败</td>
</tr>
<tr>
<td>nacos_exception_total{name='unhealth'}</td>
<td>Nacos config server之间健康检查异常</td>
</tr>
<tr>
<td>nacos_exception_total{name='disk'}</td>
<td>Nacos naming写磁盘异常</td>
</tr>
<tr>
<td>nacos_exception_total{name='leaderSendBeatFailed'}</td>
<td>Nacos naming leader发送心跳异常</td>
</tr>
<tr>
<td>nacos_exception_total{name='illegalArgument'}</td>
<td>请求参数不合法</td>
</tr>
<tr>
<td>nacos_exception_total{name='nacos'}</td>
<td>Nacos请求响应内部错误异常（读写失败，没权限，参数错误）</td>
</tr>
</tbody>
</table>
<h3>client metrics</h3>
<table>
<thead>
<tr>
<th>指标</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>nacos_monitor{name='subServiceCount'}</td>
<td>订阅的服务数</td>
</tr>
<tr>
<td>nacos_monitor{name='pubServiceCount'}</td>
<td>发布的服务数</td>
</tr>
<tr>
<td>nacos_monitor{name='configListenSize'}</td>
<td>监听的配置数</td>
</tr>
<tr>
<td>nacos_client_request_seconds_count</td>
<td>请求的次数，包括多种(url,方法,code)</td>
</tr>
<tr>
<td>nacos_client_request_seconds_sum</td>
<td>请求的总耗时，包括多种(url,方法,code)</td>
</tr>
</tbody>
</table>
<h2>Nacos-Sync监控</h2>
<p>随着Nacos 0.9版本发布，Nacos-Sync 0.3版本支持了metrics监控，能通过metrics数据观察Nacos-Sync服务的运行状态，提升了Nacos-Sync的在生产环境的监控能力。
整体的监控体系的搭建参考<a href="https://nacos.io/zh-cn/docs/monitor-guide.html">Nacos监控手册</a></p>
<h2>grafana监控Nacos-Sync</h2>
<p>和Nacos监控一样，Nacos-Sync也提供了监控模版，导入监控<a href="https://github.com/nacos-group/nacos-template/blob/master/nacos-sync-grafana">模版</a></p>
<p>Nacos-Sync监控同样也分为三个模块:</p>
<ul>
<li>nacos-sync monitor展示核心监控项
<img src="https://img.alicdn.com/tfs/TB1GeNWKmzqK1RjSZFHXXb3CpXa-2834-1588.png" alt="monitor"></li>
<li>nacos-sync detail和alert展示监控曲线和告警
<img src="https://img.alicdn.com/tfs/TB1kP8UKbvpK1RjSZPiXXbmwXXa-2834-1570.png" alt="detail"></li>
</ul>
<h2>Nacos-Sync metrics含义</h2>
<p>Nacos-Sync的metrics分为jvm层和应用层</p>
<h3>jvm metrics</h3>
<table>
<thead>
<tr>
<th>指标</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>system_cpu_usage</td>
<td>CPU使用率</td>
</tr>
<tr>
<td>system_load_average_1m</td>
<td>load</td>
</tr>
<tr>
<td>jvm_memory_used_bytes</td>
<td>内存使用字节，包含各种内存区</td>
</tr>
<tr>
<td>jvm_memory_max_bytes</td>
<td>内存最大字节，包含各种内存区</td>
</tr>
<tr>
<td>jvm_gc_pause_seconds_count</td>
<td>gc次数，包含各种gc</td>
</tr>
<tr>
<td>jvm_gc_pause_seconds_sum</td>
<td>gc耗时，包含各种gc</td>
</tr>
<tr>
<td>jvm_threads_daemon</td>
<td>线程数</td>
</tr>
</tbody>
</table>
<h2>应用层 metrics</h2>
<table>
<thead>
<tr>
<th>指标</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td>nacosSync_task_size</td>
<td>同步任务数</td>
</tr>
<tr>
<td>nacosSync_cluster_size</td>
<td>集群数</td>
</tr>
<tr>
<td>nacosSync_add_task_rt</td>
<td>同步任务执行耗时</td>
</tr>
<tr>
<td>nacosSync_delete_task_rt</td>
<td>删除任务耗时</td>
</tr>
<tr>
<td>nacosSync_dispatcher_task</td>
<td>从数据库中分发任务</td>
</tr>
<tr>
<td>nacosSync_sync_task_error</td>
<td>所有同步执行时的异常</td>
</tr>
</tbody>
</table>
</div></div></section><footer class="footer-container" data-reactid="139"><div class="footer-body" data-reactid="140"><img src="/img/nacos_gray.png" data-reactid="141"/><div class="cols-container" data-reactid="142"><div class="col col-12" data-reactid="143"><h3 data-reactid="144">愿景</h3><p data-reactid="145">Nacos 通过提供简单易用的动态服务发现、服务配置、服务共享与管理等服务基础设施，帮助用户在云原生时代，在私有云、混合云或者公有云等所有云环境中，更好的构建、交付、管理自己的微服务平台，更快的复用和组合业务服务，更快的交付商业创新的价值，从而为用户赢得市场。</p></div><div class="col col-6" data-reactid="146"><dl data-reactid="147"><dt data-reactid="148">文档</dt><dd data-reactid="149"><a href="/zh-cn/docs/what-is-nacos.html" target="_self" data-reactid="150">概览</a></dd><dd data-reactid="151"><a href="/zh-cn/docs/quick-start.html" target="_self" data-reactid="152">快速开始</a></dd><dd data-reactid="153"><a href="/zh-cn/docs/contributing.html" target="_self" data-reactid="154">开发者指南</a></dd></dl></div><div class="col col-6" data-reactid="155"><dl data-reactid="156"><dt data-reactid="157">资源</dt><dd data-reactid="158"><a href="/zh-cn/community/index.html" target="_self" data-reactid="159">社区</a></dd><dd data-reactid="160"><a href="https://www.aliyun.com/product/acm?source_type=nacos_pc_20181219" target="_self" data-reactid="161">云服务 ACM</a></dd><dd data-reactid="162"><a href="https://www.aliyun.com/product/edas?source_type=nacos_pc_20181219" target="_self" data-reactid="163">云服务 EDAS</a></dd><dd data-reactid="164"><a href="https://www.aliyun.com/product/ahas?source_type=nacos_pc_20190225" target="_self" data-reactid="165">云服务 AHAS</a></dd></dl></div></div><div class="copyright" data-reactid="166"><span data-reactid="167">@ 2018 The Nacos Authors | An Alibaba Middleware (Aliware) Project</span></div></div></footer></div></div>
	<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
	<script src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
	<script>
		window.rootPath = '';
  </script>
	<script src="/build/documentation.js"></script>
</body>
</html>